﻿using System;

namespace Sherwood.Content.UpdateServices.Attachments.Tests
{
    public class TestSearchDocument : ISearchDocument, IAttachmentSearchDocument
    {
        public Guid RecordId { get; set; }
        public string Source { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string CultureName { get; set; }
        public string LanguageCode { get; set; }
        public string CultureInvariantReferenceId { get; set; }
        public void AddAttachment(string filename, string content)
        {
            Title = filename;
            Description = content;
        }
    }
}